<?php defined('SYSPATH') or die('No direct script access.');

class Model_Googleauth extends ORM {
 
  protected $_table_name = 'google_auth';
  
  public $id;
  public $uid = 1;
  public $access_token;
  public $updated;
  
  protected $_rules = array(
  		  'id' => array(
            'regex'      => array('/^\d+$/'),
        ),
        'uid' => array(
            'regex'      => array('/^\d+$/'),
        ),
        'access_token' => array(
        		'regex' => array('/^[a-zA-Z0-9_\.]+$/'),
        ),
        'updated' => array(
            'regex'      => array('/^[0-9-:]++$/'),
        ),
    );
 
}
